package com.wanmait.baohan.util;

import java.util.Date;

/**
 * TODO
 *
 * @author 打豆豆
 * @version 1.0
 * @date 2020/12/12 11:04
 * @description:
 */
public class AddDate {
    public static Date addDate(Date date, Integer days){
        long time = date.getTime();
        days = days * 24 * 60 * 60 * 1000;
        return new Date(time + days);
    }
}
